package com.feituan.core.persistence.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feituan.core.pojo.entity.User;
import com.feituan.core.pojo.entity.UserCoupon;
import com.feituan.core.pojo.request.CommonPageReq;
import com.feituan.core.pojo.request.UserCouponPageReq;
import com.feituan.core.pojo.request.UserCouponQuery;
import com.feituan.core.pojo.request.UserCouponSendReq;
import com.feituan.core.pojo.response.UserCouponList;
import com.feituan.core.pojo.response.UserCouponListInfo;
import com.feituan.core.pojo.response.page.PageData;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xiaohu
 * @since 2024-05-09
 */
public interface IUserCouponService extends IService<UserCoupon> {
    PageData<UserCoupon> queryPage(UserCouponPageReq pageReq);

    void insertBatch(List<UserCoupon> userCouponList);

    void sendCoupon(UserCouponSendReq userCouponSendReq);

    PageData<UserCouponList> selectCouponByUserId(UserCouponQuery userCouponQuery);
}
